cmake_minimum_required(VERSION 3.28.1)
project(memory_pool)

set(CMAKE_CXX_STANDARD 20)

add_executable(memory_pool main.cpp
        v1/include/memory_pool.h
        v1/src/memory_pool.cpp
        v2/include/thread_cache.h
        v2/src/thread_cache.cpp
        v2/include/common.h
        v2/include/central_cache.h
        v2/src/central_cache.cpp
        v2/include/page_cache.h
        v2/src/page_cache.cpp)
